list_01 = [1, 2, 3, 4]
list_02 = ["a", "b", "c", "d"]
dict_01 = dict(zip(list_01, list_02))
print(dict_01)
print(dict_01.items(), type(dict_01.items()))
dict_01.pop(1)
print(dict_01)
res_01 = dict_01.get(2)
print(res_01)
dict_01.update({2: "abcd"})
dict_01.setdefault(1, "abc")
print(dict_01)

dict_02 = {}
for i, j in dict_01.items():
    dict_02[i] = j
print(dict_02)

dict_03 = {i: j for i, j in dict_01.items() if i % 2 ==0}
print(dict_03)
